﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ascx_inquiry : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    //打开目标页面，并根据按下不同的按钮传递不同的参数
    protected void Button1_Click(object sender, EventArgs e)
    {
        Server.Transfer("showBook.aspx?id=" + "inquiryBtn1|"+TextBox1.Text);
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        Server.Transfer("showBook.aspx?id=" + "inquiryBtn2|" + TextBox2.Text);
    }
}